projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606daab
)
separator: Initialize accessible state
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Jul 2020 23:38:01 +0000
(19:38 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 28 Jul 2020 01:18:10 +0000
(21:18 -0400)
The orientation property of separators should be
set ab initio.
gtk/gtkseparator.c
patch
|
blob
|
history
diff --git
a/gtk/gtkseparator.c
b/gtk/gtkseparator.c
index fe9ac5843765f73ad1e5e5226a4cfeaa14054d2b..c6b391fe8f2012fc35c77e40213471d6ba74c65a 100644
(file)
--- a/
gtk/gtkseparator.c
+++ b/
gtk/gtkseparator.c
@@
-139,6
+139,9
@@
gtk_separator_init (GtkSeparator *separator)
gtk_widget_update_orientation (GTK_WIDGET (separator),
separator->orientation);
+ gtk_accessible_update_property (GTK_ACCESSIBLE (separator),
+ GTK_ACCESSIBLE_PROPERTY_ORIENTATION, separator->orientation,
+ -1);
}
static void